package com.billionsfinance.crs.hessian.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.stereotype.Service;

/**
 * hessian接口注解，标注在hessian接口上
 *
 * @ ClassName: HessianPath.java
 * @ Author: WeiHui-Z
 * @ Date: 2017/1/4 15:47
 * @ Version: v1.0.0
 */
@Inherited
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Service
public @interface HessianPath {

	/**
	 * 服务描述
	 *
	 * @return 描述
	 */
	String desc();
}
